import service from "../request/qingqiu";

// 获取歌单详情信息
export function getMusicItemList(data) {
    return service({
        method: 'get',
        url: `/playlist/detail?id=${data.id}`
    })
}

// 获取歌单的所有歌曲
export function getAllMusic(data) {
    return service({
        method: 'get',
        url: `/playlist/track/all?id=${data.id}&limit=${data.limit}&offset=${data.offset}`
    })
}

// 获取歌词
export function getMusicLyric(data) {
    return service({
        method: 'get',
        url: `/lyric?id=${data}`
    })
}